package com.groupbuying.customer.service;

import com.groupbuying.customer.domain.CustomerInStorkDO;
import com.groupbuying.customer.utils.apiresult.ApiResult;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * 奖品库存表
 * 
 * @author gaoruijun
 * @email 18511893135@163.com
 * @date 2019-08-01 09:13:14
 * @des
 */

public interface CustomerInStorkService {
	
	CustomerInStorkDO get(BigInteger uuid);
	
	List<CustomerInStorkDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CustomerInStorkDO customerInStork);
	
	int update(CustomerInStorkDO customerInStork);
	
	int remove(BigInteger uuid);
	
	int batchRemove(BigInteger[] uuids);

	/**
	 * 查询库存
	 * @return
	 */
	ApiResult getAll();
}
